package com.sino.business;

import java.util.List;

import com.sino.bean.Qxkw;
import com.sino.business.service.LoginInfo;
import com.sino.model.BasicInfoModel;
import com.sino.model.TjyjModel;

public interface IPatentManageService {
	
	public List<BasicInfoModel> getBasicSituation();
	public LoginInfo getUsersByName(String name,String password);
	public void  saveUser(LoginInfo logininfo);
	public  List<LoginInfo> getUser(String qxkw);
	public  List<LoginInfo> getUser(String qxkw,String hql);
	public void deleteUser(String id);
	public void  saveQxkw(Qxkw qxkw);
	public Qxkw  getQxkwById(String  id);
	public LoginInfo getLoginInfo(String id);
	/**
	 * 
	 * @return
	 */
	public  List<Qxkw> getQxkw();
	/**
	 * 
	 * @param id
	 */
	public void  deleteQxkw(String id);
	/**
	 * 
	 * @param name
	 * @return
	 */
	public boolean verifyUser(String name);
	/**
	 * 
	 * @param name
	 * @param password
	 * @return
	 */
	public boolean verifyPassword(String name,String password);
	/**
	 * 
	 * @param loginInfo
	 * @param id
	 */
	public void updatePassword(LoginInfo loginInfo,Integer id);
	/**
	 * 
	 * @param loginInfo
	 * @param id
	 */
	public void  updateUser(LoginInfo loginInfo,Integer id);
	/**
	 * 
	 * @param firstRow
	 * @param maxRow
	 * @param hqlwhere
	 * @param qxkw
	 * @return
	 */
	public List<BasicInfoModel> getBasicInfoPageList(int firstRow,
			final int maxRow, String hqlwhere,String qxkw);
	public int getBasicInfoPageCount(String hqlwhere,String qxkw);
	public void  saveTjyj(TjyjModel tjyjModel);
	/**
	 * 
	 * @param  :qxkwList 区县科委List
	 * @return :string  返回构造区县科委的链接
	 */
	public String getQxkwLink(List qxkwList);
	public void updateUsers(LoginInfo loginInfo);
	public void updateBasicInfoShbz(String flag,String shbz[]);
	/**
	 * 
	 * @param zlid 专利id
	 * @return 专利号推荐意见表
	 */
	 public TjyjModel getTjyjRptByZlid(String zlid);
	 public TjyjModel getTjyjByZlid(String zlid);
	
}
